package com.yuandian.api.management.feign;

import com.yuandian.bpm.common.core.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * 说明：远程调用选项接口服务
 * @Author zfsn
 * @Date 2023/3/14 16:06
 */
@FeignClient(contextId = "RemoteAlarmService", value = "bpm-management")
public interface RemoteAlarmService {

	/**
	 * 查询指标类型(远程调用接口)
	 * @param category 实例对象
	 * @return 通用返回对象
	 */
	@GetMapping("/alarm/queryIndicator/{category}")
	R<List<Integer>> queryIndicator(@PathVariable("category") String category);
}
